/*
 * Copyright (C) 2015-2017 PÂRIS Quentin
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

@background-color: #3c3f41;
@text-color: #FFFFFF;

/*******************************************************/
/*********************** general ***********************/
/*******************************************************/
.text-field {
    -fx-background-radius: 1em;
}

/*******************************************************/
/************************ menu *************************/
/*******************************************************/
#menuPane > .tab-header-area .tab-label {
    -fx-text-fill: @text-color;
}

#menuPane > .tab-header-area .tab-header-background {
    -fx-background-color: linear-gradient(#485563, #29323c);
}

/*******************************************************/
/*********************** sidebar ***********************/
/*******************************************************/
.sidebar {
    -fx-background-color: @background-color;

    .sidebarScrollbar {
        -fx-background-color: @background-color;
    }

    .sidebarScrollbar > .viewport {
        -fx-background-color: @background-color;
    }

    .sidebarScrollbar .scroll-bar:vertical .track {
        -fx-background-color: @background-color;
        -fx-background-radius: 1em;
    }

    .sidebarScrollbar .scroll-bar:vertical .thumb {
        -fx-background-radius: 0em;
    }

    .sidebarTitle {
        .text {
            -fx-fill: @text-color;
        }
    }

    .sidebarButton {
        .text {
            -fx-fill: @text-color;
        }

        &:hover, &:selected {
            -fx-background-color: #9f9da6;
        }
    }

    .sidebarCheckBox .text {
        -fx-fill: @text-color;
    }
}

/*******************************************************/
/*********************** library ***********************/
/*******************************************************/
.shortcutButton {
  &:pressed {
    -fx-border-color: @background-color;
  }
}

/*******************************************************/
/************************* apps ************************/
/*******************************************************/
.appPanelMiniaturesPane {
    -fx-padding: 1em;
}

/*******************************************************/
/********************** containers *********************/
/*******************************************************/
.containerConfigurationPane > .grid {
    -fx-padding: 1em;
    -fx-hgap: 1em;
    -fx-vgap: 1em;
    -fx-spacing: 1em;
}

/*******************************************************/
/********************** miniature **********************/
/*******************************************************/

.listChooser {
    .listIcon:selected {
        -fx-border-color: #529bda;
        -fx-border-radius: 0.2em;
    }
}

/*******************************************************/
/***************** installation wizard *****************/
/*******************************************************/
#presentationBackground {
    -fx-padding: 0.8em;
}

/************************ step *************************/
#panelForTopheader {
    -fx-border-color: #CCCCCC;
}